#ifndef NOTIFICATION_H
#define NOTIFICATION_H

#include <QObject>
#include <QTimer>

class notification : public QObject
{
    Q_OBJECT
public:
    notification(QWidget *parent = nullptr);

    void check_notification();
    int checkActivationState();
    int checkOsRelease();

    int messageId = -1;
    QTimer *prompt_timer;

Q_SIGNALS:
    void actionExecd(QString);

public slots:
    void onActionInvoked(quint32, QString);
    void onNotificationClosed(quint32, quint32);
    void promptTimeout();
};

#endif // NOTIFICATION_H
